class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?"{
          constraints {
             // apply constraints here
          }
        }
        "/" (controller: "profile")

        "500"(view:'/error')
	}
}
